package com.msmall.base;


public abstract class PaginationFactory {

	private static PaginationFactory instance;
	
	public static synchronized PaginationFactory getInstance(){
		if(instance == null){
			instance = new DefaultPaginationFactory(); 
		}
		PaginationFactoryProxy proxy = new PaginationFactoryProxy(instance);
		return proxy;
	}
	
	public abstract PaginationSupport createPagination(String ua);
	
	protected Object clone(){
		return null;
	}
}
